package com.matt.domain;

import com.matt.commons.model.Domain;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;


@Data
@Entity
@Table(name = "tb_app_skin")
@EqualsAndHashCode(callSuper = true)
public class AppSkin extends Domain {

    @Column(columnDefinition = " varchar(50) COMMENT '皮肤名字' ")
    private String skinName;

    @Column(columnDefinition = " varchar(32) COMMENT '对应园区id' ")
    private String areaId;

    @Column(columnDefinition = " varchar(2048) COMMENT '媒体文件地址' ")
    private String resourceUrl;

    @Column(columnDefinition = " bit DEFAULT 0 COMMENT '是否专属皮肤 false-否 true-是' ")
    private Boolean isPersonal = false;

    @Column(columnDefinition = "int default 1  COMMENT '排序'")
    private Integer orderNo;

    @Column(columnDefinition = " varchar(2048) COMMENT '' ")
    private String imgSplash;

    @Column(columnDefinition = " varchar(2048) COMMENT '' ")
    private String imgLoginIcon;

    @Column(columnDefinition = " varchar(2048) COMMENT '' ")
    private String imgLoginBg;

    @Column(columnDefinition = " varchar(32) COMMENT '皮肤默认颜色' ")
    private String skinColor;
    
}
